package kr.co.bettersoftportal.site.management.dao;

import kr.co.bettersoftportal.site.domain.Member;


import java.util.List;

public interface MemberDao {


    public abstract Member getMemberById(String id);
    
    public abstract String getMemberExistById(String id);

    public abstract String logIn(Member member);

    public abstract String insertMember(Member member);

    /**
     * 멤버 정보를 이용하여 비밀번호 수정
     *
     * @param member
     * @return
     */
    public abstract String updatePasswordByMember(Member member);


    /**
     * 검색 단어로 회원 조회
     *
     * @param member
     * @return
     */
    public abstract List getMemberListBySearchword(Member member);


    /**
     * 검색 단어로 회원 수 조회하기.
     *
     * @param member
     * @return
     */
    public abstract String getTotalMemberCountBySearchword(Member member);




    /**
     * ID 로 멤버 정보 업데이트
     *
     * @param member
     * @return
     */
    public abstract String updateMemberByBettersoftId(Member member);

}
